#ifndef __gui_manager__h__
#define __gui_manager__h__

#include "singleton.h"
#include <map>
using namespace std;

class gui_button;
class hgeGUI;

class gui_manager : public singleton<gui_manager>
{
public:
	gui_manager();
	~gui_manager();

	hgeGUI* get_gui();

	//
	void add_button(int group, int guid, char* texfile, int _x, int _y, int width, int height);
	//
    gui_button* get_button(int guid);
	
	//hide other group's ctrls
	void only_active_group(int group);

private:
	hgeGUI* gui;
	map<int, int> CtrlGroups;

};
#endif